package cn.com.atlasdata.atops.helper;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


/**
 * @author ZJH
 * @create 2018-09-20 16:20
 **/
@Configuration
@ConfigurationProperties(prefix = "constant")
public class Config {

    private String confdb_host;
    private String confdb_dbname;
    private String confdb_username;
    private String confdb_password;
    private String confdb_port;
    private String dbcenter_host;
    private String dbcenter_port;
    private String dbcenter_dbname;
    private String dbcenter_username;
    private String dbcenter_password;

    public String getConfdb_host() {
        return confdb_host;
    }

    public void setConfdb_host(String confdb_host) {
        this.confdb_host = confdb_host;
    }

    public String getConfdb_port() {
        return confdb_port;
    }

    public void setConfdb_port(String confdb_port) {
        this.confdb_port = confdb_port;
    }

    public String getConfdb_dbname() {
        return confdb_dbname;
    }

    public void setConfdb_dbname(String confdb_dbname) {
        this.confdb_dbname = confdb_dbname;
    }

    public String getConfdb_username() {
        return confdb_username;
    }

    public void setConfdb_username(String confdb_username) {
        this.confdb_username = confdb_username;
    }

    public String getConfdb_password() {
        return confdb_password;
    }

    public void setConfdb_password(String confdb_password) {
        this.confdb_password = confdb_password;
    }

    public String getDbcenter_host() {
        return dbcenter_host;
    }

    public void setDbcenter_host(String dbcenter_host) {
        this.dbcenter_host = dbcenter_host;
    }

    public String getDbcenter_port() {
        return dbcenter_port;
    }

    public void setDbcenter_port(String dbcenter_port) {
        this.dbcenter_port = dbcenter_port;
    }

    public String getDbcenter_dbname() {
        return dbcenter_dbname;
    }

    public void setDbcenter_dbname(String dbcenter_dbname) {
        this.dbcenter_dbname = dbcenter_dbname;
    }

    public String getDbcenter_username() {
        return dbcenter_username;
    }

    public void setDbcenter_username(String dbcenter_username) {
        this.dbcenter_username = dbcenter_username;
    }

    public String getDbcenter_password() {
        return dbcenter_password;
    }

    public void setDbcenter_password(String dbcenter_password) {
        this.dbcenter_password = dbcenter_password;
    }

}


